package com.example.model.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "UserRealname", description="APP实名认证信息表")
public class UserRealname implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @Schema(description = "账号ID")
    private Integer userId;

    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "资源名称")
    private String userIdno;

    @Schema(description = "正面照片")
    private String fontImage;

    @Schema(description = "背面照片")
    private String backImage;

    @Schema(description = "手持照片")
    private String holdImage;

    @Schema(description = "活体照片")
    private String liveImage;

    @Schema(description = "状态	            0 创建中	            1 待审核	            2 审核失败	            9 审核通过")
    private Short userStatus;

    @Schema(description = "拒绝原因")
    private String userReason;

    @Schema(description = "创建时间")
    private Date createdTime;

    @Schema(description = "提交时间")
    private Date submitedTime;

    @Schema(description = "更新时间")
    private Date updatedTime;
}
